package com.socialcoco.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 赵志浩
 * @since 2022-03-17 09:16:50
 */
@Data
@TableName("reply")
@ApiModel(value = "Reply对象", description = "")
public class Reply {

    @TableId(value = "replyid", type = IdType.AUTO)
    private Integer replyid;

    @TableField("cid")
    private Integer cid;

    @TableField("content")
    private String content;

    @TableField("uid")
    private Integer uid;

    @TableField("uidto")
    private Integer uidto;

    @TableField("createTime")
    private Date createTime;

    private User userTo;

    private User userFrom;

}
